package com.woniuxy.service;


import com.woniuxy.commons.utile.Result;
import com.woniuxy.controller.dto.MyonerepairDto;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.controller.dto.PageRepairInfoDto;
import com.woniuxy.controller.dto.myrepairDto;
import com.woniuxy.controller.form.*;

import com.woniuxy.dao.model.RepairInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 维修表 服务类
 * </p>
 *
 * @author Keep it simple
 * @since 2022-06-28
 */
public interface RepairInfoService extends IService<RepairInfo> {



    Integer addRepariInfo(RepairuserForm repairuserForm);//维修大表添加维修信息


    myrepairDto personaluser(studentForm studentForm);//查询个人维修的全部情况


    MyonerepairDto showrepair(ShowrepairForm showrepairForm);//个人维修详情页面

    PageRepairInfoDto getRepairInfo(PageRepairInfoForm pageRepairInfoForm);







    /**
     * 获取维修工人维修的所有信息
     * @param pageNum
     * @param pageSize
     * @return
     */
    Page<RepairForm> showWorkerRepair(Integer pageNum, Integer pageSize);
}
